package cn.tips.dmp.common.constant;

/**
 * @author pkb
 */
public class SystemMessageConstant extends SystemAssistConstant {


    /**通知范围**/
    public static final class messageScope {

        //全部
        public static final Integer ALL = 1;
        //局部
        public static final Integer PART = 0;

    }

    /**分类**/
    public static final class messageClassify {

        //通知
        public static final Integer NOTIFICATION = 1;
        //消息
        public static final Integer MESSAGES = 2;

    }

    /**类型**/
    public static final class messageType {

        //系统消息
        public static final Integer SYSTEM_NEWS = 1;
        //通知公告
        public static final Integer NOTICE = 2;
        //成果
        public static final Integer FRUIT = 3;
        //课题
        public static final Integer PROJECT = 4;
        //批示
        public static final Integer INSTRUCT = 5;
        //采纳
        public static final Integer ADOPT = 6;

    }

    /**消息体状态**/
    public static final class messageTextState {

        //待发送
        public static final Integer WAITING  = 0;
        //已发送
        public static final Integer SENT = 1;
        //已删除
        public static final Integer DELETED = 2;

    }

    /**消息发送状态**/
    public static final class messageSendState {

        //失败
        public static final Integer FAILURE = 0;
        //成功
        public static final Integer SUCCESS = 1;

    }

    /**消息接收状态**/
    public static final class messageReadState {
        //未读
        public static final Integer UNREAD = 0;
        //已读
        public static final Integer READED = 1;

    }
}
